package com.jimmy.medical.service;

import com.jimmy.medical.base.JpaSpecificationService;
import com.jimmy.medical.entity.UploadFile;
import com.jimmy.medical.repository.UploadFileRepository;

import java.util.List;

/**
 * 上传文件记录Service
 * @author jimmy
 */
public interface IUploadFileService extends JpaSpecificationService<UploadFileRepository, UploadFileRepository, UploadFile, Long> {

    //通过关联字段查询相关的附件信息
    public List<UploadFile> findAllByRelateKey(String relateKey);
}
